package ru.urfc.portal.model;

import javax.persistence.Entity;
import javax.xml.bind.annotation.XmlRootElement;

import ru.urfc.portal.ui.client.Constants;

@Entity
@XmlRootElement(name = Constants.ASSOCIATION_KEY)
public class AssociationKeyWithEmail extends AssociationKey {
	
	private String email;

	public AssociationKeyWithEmail() {
	}
	
	public AssociationKeyWithEmail(String key, String email) {
		super(key, null);
		this.email = email;
		
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
}
